﻿using System;
using MoonSharp.Interpreter;

namespace Lua
{
	// Token: 0x020002F0 RID: 752
	[MoonSharpUserData]
	public class IKEffector
	{
		// Token: 0x0600120C RID: 4620 RVA: 0x00080B10 File Offset: 0x0007ED10
		[MoonSharpHidden]
		public IKEffector(IKBone ikBone)
		{
			this.effector = ikBone;
		}

		// Token: 0x170002A8 RID: 680
		// (get) Token: 0x0600120D RID: 4621 RVA: 0x00080B1F File Offset: 0x0007ED1F
		// (set) Token: 0x0600120E RID: 4622 RVA: 0x00080B31 File Offset: 0x0007ED31
		public Vector3 position
		{
			get
			{
				return new Vector3(this.effector.virtualPosition);
			}
			set
			{
				this.effector.virtualPosition = value.vector3;
			}
		}

		// Token: 0x170002A9 RID: 681
		// (get) Token: 0x0600120F RID: 4623 RVA: 0x00080B44 File Offset: 0x0007ED44
		// (set) Token: 0x06001210 RID: 4624 RVA: 0x00080B51 File Offset: 0x0007ED51
		public float positionWeight
		{
			get
			{
				return this.effector.positionWeight;
			}
			set
			{
				this.effector.positionWeight = value;
			}
		}

		// Token: 0x170002AA RID: 682
		// (get) Token: 0x06001211 RID: 4625 RVA: 0x00080B5F File Offset: 0x0007ED5F
		// (set) Token: 0x06001212 RID: 4626 RVA: 0x00080B71 File Offset: 0x0007ED71
		public Quaternion rotation
		{
			get
			{
				return new Quaternion(this.effector.rotation);
			}
			set
			{
				this.effector.rotation = value.quaternion;
			}
		}

		// Token: 0x170002AB RID: 683
		// (get) Token: 0x06001213 RID: 4627 RVA: 0x00080B84 File Offset: 0x0007ED84
		// (set) Token: 0x06001214 RID: 4628 RVA: 0x00080B91 File Offset: 0x0007ED91
		public float rotationWeight
		{
			get
			{
				return this.effector.rotationWeight;
			}
			set
			{
				this.effector.rotationWeight = value;
			}
		}

		// Token: 0x040016CA RID: 5834
		private IKBone effector;
	}
}
